icontheme: Always return some icon name in get_icon_name() for lookup results
authorAlexander Larsson <alexl@redhat.com>
Mon, 10 Feb 2020 10:40:00 +0000 (11:40 +0100)
committerAlexander Larsson <alexl@redhat.com>
Mon, 10 Feb 2020 10:40:00 +0000 (11:40 +0100)
commit14b3b684ef5b69a4215b2012d4397bbd693e6f0b
treea9f025c5a7e2007019748380a9159d628ed20c11
parent24fede022508ce6945a504a66a2303e6c65dcc11
icontheme: Always return some icon name in get_icon_name() for lookup results

If you called gtk_icon_theme_lookup(), then always return some useful
icon name from gtk_icon_paintable_get_icon_name(), even if we picked
an unthemed icon.

Also rewrite the gtk_icon_paintable_get_icon_name() docs to make this
clearer.
gtk/gtkicontheme.c